// 报告状态
export const REPORT_STATUS = {
  PENDING: 'pending',
  PROCESSING: 'processing',
  COMPLETED: 'completed',
  FAILED: 'failed'
}

export const REPORT_STATUS_TEXT = {
  [REPORT_STATUS.PENDING]: '待处理',
  [REPORT_STATUS.PROCESSING]: '处理中',
  [REPORT_STATUS.COMPLETED]: '已完成',
  [REPORT_STATUS.FAILED]: '处理失败'
}

// 城市列表
export const CITIES = [
  { code: 'HZ', name: '杭州' },
  { code: 'NB', name: '宁波' },
  { code: 'WZ', name: '温州' },
  { code: 'SX', name: '绍兴' },
  { code: 'JX', name: '嘉兴' },
  { code: 'HUZ', name: '湖州' }
]

// 错误码
export const ERROR_CODES = {
  SUCCESS: 0,
  UNAUTHORIZED: 401,
  FORBIDDEN: 403,
  NOT_FOUND: 404,
  SERVER_ERROR: 500
}

// 本地存储键名
export const STORAGE_KEYS = {
  TOKEN: 'token',
  USER_INFO: 'userInfo',
  WX_USER_INFO: 'wxUserInfo'
} 

// 微信appid
// export const WX_APP_ID = import.meta.env.VITE_WX_APP_ID